package com.yaowk.api.system.service;

import com.yaowk.api.common.IBaseService;
import com.yaowk.api.system.model.Permission;

import java.util.List;

public interface IPermissionService extends IBaseService<Permission, Integer> {

    List<Permission> findPermissionsByMenuId(Integer menuId);

    List<Permission> findPermissionsByResourceId(Integer resourceId);

}
